# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=cimg
pkgver=3.4.1
pkgrel=0
pkgdesc="Small C++ toolkit for image processing"
url="https://cimg.eu"
arch="noarch"
license="CECILL-C OR CECILL-2.0"
options="!check" # no test suite
source="https://github.com/GreycLab/CImg/archive/v.$pkgver/CImg-v.$pkgver.tar.gz"
builddir="$srcdir/CImg-v.$pkgver"

package() {
	install -Dm644 CImg.h -t "$pkgdir"/usr/include/
	install -Dm644 plugins/*.h -t "$pkgdir"/usr/include/CImg/plugins/
}

sha512sums="
54357c177c1e25117778d444e0317a5a5f9dc9dd40ff2c280b6c05f846b2352c523ba6ab9eeea2e05094cc8fbbfe5a544a5f83eeda46394b3d87962b3b1e31d5  CImg-v.3.4.1.tar.gz
"
